/**
 * Constants class.
 */
package pits.util;

/**
 * Constants class contains constants used in this PITSPortlet project.
 * 
 * @author ltd
 * 
 */
public class Constants {
	/**
	 * blank value
	 */
	public static final String BLANK_VALUE = "";

	public static final String REQ_FIELD_ACTION = "Action";
	public static final String REQ_FIELD_LINK = "submitLink";
	/**
	 * jdbc properties
	 */
	public static final String JDBD_DRIVER = "jdbcDriver";
	public static final String JDBD_URL = "jdbcUrl";
	public static final String JDBD_USER = "jdbcUser";
	public static final String JDBD_PASS = "jdbcPassword";
	/**
	 * action
	 */
	public static final String ACTION_LOGIN = "login";
	public static final String ACTION_LOGOUT = "logout";
	public static final String ACTION_HOME = "home";
	public static final String ACTION_REGISTER = "register";
	public static final String ACTION_GET_EMPLOYEE_INFO = "getEmployeeInfo";

	public static final String ACTION_CONFIRM = "confirm";
	public static final String ACTION_CANCEL = "cancel";

	public static final String ACTION_EDIT_EMPLOYEE = "editEmployee";
	public static final String ACTION_EDIT_COMPANY_INFO = "editCompanyInfo";
	public static final String ACTION_EDIT_COURSE_INFO = "editCourseInfo";
	public static final String ACTION_EDIT_PROJECT_INFO = "editProjectInfo";

	public static final String ACTION_UPDATE_COURSE_INFO = "updateCourseInfo";
	public static final String ACTION_UPDATE_PROJECT_INFO = "updateProjectInfo";

	public static final String ACTION_EDIT_TAKEN_COMPANY = "editTakenCompany";
	public static final String ACTION_EDIT_TAKEN_COURSE = "editTakenCourse";
	public static final String ACTION_EDIT_TAKEN_PROJECT = "editTakenProject";

	public static final String ACTION_UPDATE_TAKEN_COURSE = "updateTakenCourse";
	public static final String ACTION_UPDATE_TAKEN_PROJECT = "updateTakenProject";

	public static final String ACTION_ADD_TAKEN_COMPANY = "addTakenCompany";
	public static final String ACTION_ADD_TAKEN_COURSE = "addTakenCourse";
	public static final String ACTION_ADD_TAKEN_PROJECT = "addTakenProject";

	public static final String ACTION_DELETE_TAKEN_COMPANY = "deleteTakenCompany";
	public static final String ACTION_DELETE_TAKEN_COURSE = "deleteTakenCourse";
	public static final String ACTION_DELETE_TAKEN_PROJECT = "deleteTakenProject";

	public static final String ACTION_SEARCH = "search";
	public static final String ACTION_DO_SEARCH = "doSearch";
	public static final String ACTION_GET_EMP_DETAIL = "getEmpDetail";
	public static final Object ACTION_EXPORT = "export";

	public static final String ACTION_REQ_COURSE_LIST = "requestCourseList";
	public static final String ACTION_REQ_PROJECT_LIST = "requestProjectList";
	public static final String ACTION_REQ_EMPLOYEE_LIST = "requestEmployeeList";
	/**
	 * session
	 */
	public static final String SESSION_ATT_NAME = "userName";
	public static final String SESSION_ATT_ERROR = "errorMess";
	public static final String SESSION_ATT_EMPLOYEE = "employee";
	public static final String SESSION_ATT_PROJECT = "project";
	public static final String SESSION_ATT_COURSE = "course";
	public static final String SESSION_ATT_SUCCESS = "successMess";
	public static final String SESSION_ATT_EMPID = "empID";
	public static final String SESSION_ATT_DEPARTEXP = "departExp";
	public static final String SESSION_ATT_COMPANY = "company";
	public static final String SESSION_ATT_ROLES = "roles";
	public static final String SESSION_ATT_SEARCH_RESULT = "resultList";
	/**
	 * page
	 */
	public static final String PAGE_LOGIN = "Login.jsp";
	public static final String PAGE_MENU = "Menu.jsp";

	public static final String PAGE_SEARCH_INFO = "SearchInfo.jsp";
	public static final String PAGE_EMPLOYEE_SEARCH_DETAIL = "EmployeeSearchDetail.jsp";

	public static final String PAGE_EMPLOYEE_STAT_INFO = "EmployeeStatInfo.jsp";
	public static final String PAGE_DEPARTMENT_STAT_INFO = "DepartmentStatInfo.jsp";
	public static final String PAGE_EDIT_EMPLOYEE_INFO = "EditEmployeeInfo.jsp";
	public static final String PAGE_EDIT_PROJECT_INFO = "EditProjectInfo.jsp";
	public static final String PAGE_EDIT_COURSE_INFO = "EditCourseInfo.jsp";
	public static final String PAGE_EDIT_TAKEN_COMPANY_INFO = "EditTakenCompanyInfo.jsp";
	public static final String PAGE_EDIT_TAKEN_COURSE_INFO = "EditTakenCourseInfo.jsp";
	public static final String PAGE_EDIT_TAKEN_PROJECT_INFO = "EditTakenProjectInfo.jsp";
	public static final String PAGE_REGISTER = "Register.jsp";
	public static final String PAGE_FORGET_PASSWORD = "ForgetPassword.jsp";
	public static final String PAGE_ADMIN_INDEX = "AdminIndex.jsp";
	public static final String PAGE_ADD_TAKEN_COMPANY_INFO = "AddTakenCompanyInfo.jsp";
	public static final String PAGE_ADD_TAKEN_COURSE = "AddTakenCourse.jsp";
	public static final String PAGE_ADD_TAKEN_PROJECT = "AddTakenProject.jsp";

	public static final String PAGE_ADMIN_COURSE_LIST = "AdminCourseList.jsp";
	public static final String PAGE_ADMIN_PROJECT_LIST = "AdminProjectList.jsp";
	public static final String PAGE_ADMIN_EMPLOYEE_LIST = "AdminEmployeeList";
	/**
	 * path
	 */
	public static final String PATH_INDEX = "/WEB-INF/jsp/index.jsp";
	public static final String PATH_MENU = "/WEB-INF/jsp/Menu.jsp";
	public static final String PATH_LOGIN = "/WEB-INF/jsp/Login.jsp";
	public static final String PATH_REGISTER = "/WEB-INF/jsp/Register.jsp";
	public static final String PATH_FORGET_PASSWORD = "/WEB-INF/jsp/ForgetPassword.jsp";
	public static final String PATH_EDIT_EMPLOYEE_INFO = "/WEB-INF/jsp/EditEmployeeInfo.jsp";
	public static final String PATH_EDIT_PROJECT_INFO = "/WEB-INF/jsp/EditProjectInfo.jsp";
	public static final String PATH_EDIT_COURSE_INFO = "/WEB-INF/jsp/EditCourseInfo.jsp";
	public static final String PATH_EDIT_TAKEN_COMPANY_INFO = "/WEB-INF/jsp/EditTakenCompanyInfo.jsp";
	public static final String PATH_EDIT_TAKEN_COURSE_INFO = "/WEB-INF/jsp/EditTakenCourseInfo.jsp";
	public static final String PATH_EDIT_TAKEN_PROJECT_INFO = "/WEB-INF/jsp/EditTakenProjectInfo.jsp";
	public static final String PATH_EMPLOYEE_STAT_INFO = "/WEB-INF/jsp/EmployeeStatInfo.jsp";
	public static final String PATH_DEPARTMENT_STAT_INFO = "/WEB-ING/jsp/DepartmentStatInfo.jsp";
	public static final String PATH_SEARCH_INFO = "/WEB-INF/jsp/SearchInfo.jsp";
	public static final String PATH_EMPLOYEE_SEARCH_DETAIL = "/WEB-INF/jsp/EmployeeSearchDetail.jsp";
	public static final String PATH_LOG = "D:\\log.txt";
	public static final String PATH_COMMON = "/WEB-INF/jsp/";

	public static final String PATH_ADD_TAKEN_COMPANY_INFO = "/WEB-INF/jsp/AddTakenCompanyInfo.jsp";
	public static final String PATH_ADD_TAKEN_COURSE = "/WEB-INF/jsp/AddTakenCourse.jsp";
	public static final String PATH_ADD_TAKEN_PROJECT = "/WEB-INF/jsp/AddTakenProject.jsp";

	public static final String PATH_ADMIN_COURSE_LIST = "/WEB-INF/jsp/AdminCourseList.jsp";
	public static final String PATH_ADMIN_PROJECT_LIST = "/WEB-INF/jsp/AdminProjectList.jsp";
	public static final String PATH_ADMIN_EMPLOYEE_LIST = "/WEB-INF/jsp/AdminEmployeeList.jsp";
	public static final String PATH_ADMIN_EDIT_EMPLOYEE = "/WEB-INF/jsp/AdminEditEmployee.jsp";
	/**
	 * role
	 */
	public static final String ROLE_EMPLOYEE = "emp";
	public static final String ROLE_PM = "pm";
	public static final String ROLE_ADMIN = "admin";
}
